package com.imut.hcdp.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.format.annotation.DateTimeFormat;


@Data
@Accessors(chain = true)
public class HcdpTrainRoute
{
    private static final long serialVersionUID = 1L;


    private Long id;

    /** 火车ID */
    private Long trainid;

    /** 火车编号 */
    private String traincode;

    /** 发车城市 */
    private String sCity;

    /** 终点城市 */
    private String eCity;

    /** 发车站 */
    private String sStation;

    /** 终点站 */
    private String eStation;

    /** 发车时间 */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date sTime;

    /** 到达时间 */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date eTime;

    /** 操作人员 */
    private String crtuser;

    /** 操作人员编号 */
    private Long crtuserid;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date crttime;

    /** 航线状态（1:等待发车 2:已发车 3:已完成） */
    private Long status;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date paramTime;


}
